package com.cn.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.annotation.Resource;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.orm.hibernate5.HibernateTemplate;

/**
 * Custom entity. @author MyEclipse Persistence Tools
 */

public class Custom implements java.io.Serializable {

	// Fields
	@Resource
	private HibernateTemplate ht;

	private Integer id;
	private String name;
	private String phoneNo;
	private String qq;
	private Integer customStatu;
	private Date createDate;
	private String email;
	private String inviteName;
	private Set custominfos = new HashSet();
	private Set consultrecords = new HashSet();

	// Constructors
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	/** default constructor */
	public Custom() {
	}

	/** minimal constructor */
	public Custom(String name, String qq) {
		this.name = name;
		this.qq = qq;
	}

	/** full constructor */
	public Custom(String name, String phoneNo, String qq, Integer customStatu, Date createDate, String inviteName,
			Set custominfos, Set consultrecords) {
		this.name = name;
		this.phoneNo = phoneNo;
		this.qq = qq;
		this.customStatu = customStatu;
		this.createDate = createDate;
		this.inviteName = inviteName;
		this.custominfos = custominfos;
		this.consultrecords = consultrecords;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public Integer getCustomStatu() {
		return this.customStatu;
	}

	public void setCustomStatu(Integer customStatu) {
		this.customStatu = customStatu;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getInviteName() {
		return this.inviteName;
	}

	public void setInviteName(String inviteName) {
		this.inviteName = inviteName;
	}

	public Set getCustominfos() {
		return this.custominfos;
	}

	public void setCustominfos(Set custominfos) {
		this.custominfos = custominfos;
	}

	public Set getConsultrecords() {
		return this.consultrecords;
	}

	public void setConsultrecords(Set consultrecords) {
		this.consultrecords = consultrecords;
	}

}